﻿using Admin2024.Domain.Entity.System;
using Admin2024.Domain.ObjValue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin2024.Domain.IDomainService.System.IUserService
{
    public interface IUserProfileService
    {

        //修改用户信息
        Task<DomainResult<AppUser>> UpdateUserProfile(Guid Id, AppUser appUser);
        //获取所有用户(分页)
        Task<DomainResult<List<AppUser>>> GetUsersWithPagination(int page, int pageSize);
        //获取指定用户
        Task<DomainResult<AppUser>> GetUserById(Guid Id);
        //根据token 获取用户信息
        Task<DomainResult<AppUser>> GetUserInfo(string token);

    }
}
